package com.ruoyi.teaching.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import com.ruoyi.teaching.domain.YaKnowledgePoints;

/**
 * 知识点Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-19
 */
public interface YaKnowledgePointsMapper  extends BaseMapper<YaKnowledgePoints>
{
    /**
     * 查询知识点
     *
     * @param id 知识点主键
     * @return 知识点
     */
    public YaKnowledgePoints selectYaKnowledgePointsById(Long id);

    /**
     * 查询知识点列表
     *
     * @param yaKnowledgePoints 知识点
     * @return 知识点集合
     */
    public List<YaKnowledgePoints> selectYaKnowledgePointsList(YaKnowledgePoints yaKnowledgePoints);

    /**
     * 新增知识点
     *
     * @param yaKnowledgePoints 知识点
     * @return 结果
     */
    public int insertYaKnowledgePoints(YaKnowledgePoints yaKnowledgePoints);

    /**
     * 修改知识点
     *
     * @param yaKnowledgePoints 知识点
     * @return 结果
     */
    public int updateYaKnowledgePoints(YaKnowledgePoints yaKnowledgePoints);

    /**
     * 删除知识点
     *
     * @param id 知识点主键
     * @return 结果
     */
    public int deleteYaKnowledgePointsById(Long id);

    /**
     * 批量删除知识点
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYaKnowledgePointsByIds(Long[] ids);
}
